package com.deschen.security.core.validate.code;


import com.deschen.security.core.properties.SecurityConstants;

/**
 * @Author deschen
 * @Create 2019/8/21
 * @Description 验证码枚举
 * @Since 1.0.0
 */
public enum ValidateCodeType {

    SMS{
        @Override
        public String getValidateCodeType() {
            return SecurityConstants.DEFAULT_SMS_VALIDATE_CODE;
        }
    },

    IMAGE{
        @Override
        public String getValidateCodeType() {
            return SecurityConstants.DEFAULT_IMAGE_VALIDATE_CODE;
        }
    },

    ;

    public abstract String getValidateCodeType();
}
